package com.huarui.receive.model;

import java.math.BigDecimal;

import org.ewaf.framework.model.BaseDataObject;

/**
 * 入库单明细
 * 
 * @author Administrator
 * 
 */
public class ReceiveItem extends BaseDataObject {

	private static final long serialVersionUID = -8632810643269539447L;
	/**
	 * 都公开
	 */
	public static final String publicanLevel_ALL = "0";
	/**
	 * 对客户公司
	 */
	public static final String publicanLevel_PARTNER = "1";
	/**
	 * 不公开
	 */
	public static final String publicanLevel_PRIVATE = "2";
	/**
	 * 主键
	 */
	private Integer id;
	/**
	 * 入库单ID
	 */
	private Integer receiveId;
	/**
	 * 零件ID
	 */
	private Integer partId;
	/**
	 * 卖方的零件库存ID(如果是从线下公司定，此值为空)
	 */
	private Integer inventoryIdBySeller;
	/**
	 * 订单明细中的ID(从订单中转过来的记录不能删除)
	 */
	private Integer ordersItemId;
	/**
	 * 编码(冗余字段)
	 */
	private String code;
	/**
	 * 来源(0=原厂，1=合作厂中国，2=合作厂进口，3=非合作厂中国，4=非合作厂进口)
	 */
	private Integer source;
	/**
	 * 零件名称(冗余字段)
	 */
	private String name;
	/**
	 * 英文名称(冗余字段)
	 */
	private String nameEn;
	/**
	 * 拼音码(冗余字段)
	 */
	private String pyCode;
	/**
	 * 计量单位(冗余字段)
	 */
	private String measurementUnit;
	/**
	 * 零件分类(冗余字段)
	 */
	private Integer partCategoryId;
	/**
	 * 一级分类名称(冗余字段)
	 */
	private String level1Name;
	/**
	 * 二级分类名称(冗余字段)
	 */
	private String level2Name;
	/**
	 * 一级分类ID(冗余字段)
	 */
	private Integer level1Id;
	/**
	 * 耐用性(消耗件,易损件,维修件,基础件,肇事件)(冗余字段)
	 */
	private String durability;
	/**
	 * 品牌
	 */
	private String brand;
	/**
	 * 产地
	 */
	private String origin;
	/**
	 * 进价
	 */
	private BigDecimal cost;
	/**
	 * 售价
	 */
	private BigDecimal retailPrice;

	/**
	 * 最低售价
	 */
	private BigDecimal minPrice;
	/**
	 * 保险价
	 */
	private BigDecimal insurancePrice;
	/**
	 * 公开级别（0 =都公开，1=对客户公司，2=不公开）
	 */
	private String publicanLevel;
	/**
	 * 订购单上的数量(订购单的QUANTITY字段)
	 */
	private Integer orderQuantity;
	/**
	 * 实际数量
	 */
	private Integer quantity;
	/**
	 * 进价金额
	 */
	private BigDecimal costAmount;
	/**
	 * 入库仓库ID
	 */
	private Integer storeId;
	/**
	 * 仓位
	 */
	private String shelf;
	
	private String carModel;
	
	private String storePyCode;
	
	private String storeName;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getReceiveId() {
		return receiveId;
	}
	public void setReceiveId(Integer receiveId) {
		this.receiveId = receiveId;
	}
	public Integer getPartId() {
		return partId;
	}
	public void setPartId(Integer partId) {
		this.partId = partId;
	}
	public Integer getInventoryIdBySeller() {
		return inventoryIdBySeller;
	}
	public void setInventoryIdBySeller(Integer inventoryIdBySeller) {
		this.inventoryIdBySeller = inventoryIdBySeller;
	}
	public Integer getOrdersItemId() {
		return ordersItemId;
	}
	public void setOrdersItemId(Integer ordersItemId) {
		this.ordersItemId = ordersItemId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getSource() {
		return source;
	}
	public void setSource(Integer source) {
		this.source = source;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNameEn() {
		return nameEn;
	}
	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}
	public String getPyCode() {
		return pyCode;
	}
	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}
	public String getMeasurementUnit() {
		return measurementUnit;
	}
	public void setMeasurementUnit(String measurementUnit) {
		this.measurementUnit = measurementUnit;
	}
	public Integer getPartCategoryId() {
		return partCategoryId;
	}
	public void setPartCategoryId(Integer partCategoryId) {
		this.partCategoryId = partCategoryId;
	}
	public String getLevel1Name() {
		return level1Name;
	}
	public void setLevel1Name(String level1Name) {
		this.level1Name = level1Name;
	}
	public String getLevel2Name() {
		return level2Name;
	}
	public void setLevel2Name(String level2Name) {
		this.level2Name = level2Name;
	}
	public Integer getLevel1Id() {
		return level1Id;
	}
	public void setLevel1Id(Integer level1Id) {
		this.level1Id = level1Id;
	}
	public String getDurability() {
		return durability;
	}
	public void setDurability(String durability) {
		this.durability = durability;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getOrigin() {
		return origin;
	}
	public void setOrigin(String origin) {
		this.origin = origin;
	}
	public BigDecimal getCost() {
		return cost;
	}
	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}
	public BigDecimal getRetailPrice() {
		return retailPrice;
	}
	public void setRetailPrice(BigDecimal retailPrice) {
		this.retailPrice = retailPrice;
	}
	public BigDecimal getMinPrice() {
		return minPrice;
	}
	public void setMinPrice(BigDecimal minPrice) {
		this.minPrice = minPrice;
	}
	public BigDecimal getInsurancePrice() {
		return insurancePrice;
	}
	public void setInsurancePrice(BigDecimal insurancePrice) {
		this.insurancePrice = insurancePrice;
	}
	public String getPublicanLevel() {
		return publicanLevel;
	}
	public void setPublicanLevel(String publicanLevel) {
		this.publicanLevel = publicanLevel;
	}
	public Integer getOrderQuantity() {
		return orderQuantity;
	}
	public void setOrderQuantity(Integer orderQuantity) {
		this.orderQuantity = orderQuantity;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public BigDecimal getCostAmount() {
		return costAmount;
	}
	public void setCostAmount(BigDecimal costAmount) {
		this.costAmount = costAmount;
	}
	public Integer getStoreId() {
		return storeId;
	}
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	public String getShelf() {
		return shelf;
	}
	public void setShelf(String shelf) {
		this.shelf = shelf;
	}
	public String getStorePyCode() {
		return storePyCode;
	}
	public void setStorePyCode(String storePyCode) {
		this.storePyCode = storePyCode;
	}
	public String getStoreName() {
		return storeName;
	}
	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}
	public String getCarModel() {
		return carModel;
	}
	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}	
	
}
